package com.zp.mediator;/**
 * @description
 * @author zp
 * @created 2021/9/3 23:24
 */

import java.util.Date;

/**
 * @author zp
 * @description
 * @created 2021/9/3 23:24
 */
public class ChatRoom {
    public static void showMessage(User user,String message){
        System.out.println(new Date().toString()
                + " [" + user.getName() +"] : " + message);
    }
}
